import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Hello from '@/components/Hello'
import button from "@/components/button";
import Table from "../components/Table";
import TableTwo from "../components/TableTwo";
import TableThree from "../components/TableThree";

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path : '/hello',
      name: 'Hello',
      component: Hello
    },
    {
      path : '/button',
      name: 'button',
      component: button
    },
    {
      path : '/table',
      name: 'Table',
      component: Table
    },
    {
      path : '/tableTwo',
      name: 'TableTwo',
      component: TableTwo
    },
    {
      path : '/tableThree',
      name: 'TableThree',
      component: TableThree
    },
  ]
})
